home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
doordr50.zip
/
UNITINTR.ARJ
/
CFGEDITR.INT
< prev
next >
Wrap
Text File
|
1992-02-02
|
1KB
|
32 lines
Unit CfgEditr;
{$V-}
interface
uses ddscott, crt;
type
datatypetype= (dString,dbyte,dinteger,dword,dlongint,dreal,dnoentry);
TemplateDef= record
header: string;
headercolor: byte;
titles: array[1..2,1..20] of string[40];
datalength: array[1..2,1..20] of byte;
data: array[1..2,1..20] of string[40];
databyte: array[1..2,1..20] of byte;
dataint: array[1..2,1..20] of integer;
datalongint: array[1..2,1..20] of longint;
dataword: array[1..2,1..20] of word;
startx,starty: byte;
Normalfore: byte;
Inversefore: byte;
Inverseback: byte;
titlefore: byte;
end;
var
offset: byte;
procedure GetInput(Pos,menu: byte; var template: templatedef; var chainout: char);
procedure GoNextField(var pos, menu: byte; template: Templatedef);
procedure GoPrevField(var pos, menu: byte; template: Templatedef);
procedure SwitchSide(var pos, menu: byte; template: Templatedef);
procedure DoEntry(var template: Templatedef; var chainout: char);